package com.example.stock.service;

import com.example.stock.entity.eo.RuleEo;

import java.util.List;

public interface IRuleService {
    List<RuleEo> list();

    List<RuleEo.UpDnCalc> listUpDnCalc(RuleEo ruleEo);

    RuleEo.UpDnCalc getUpDnCalc(RuleEo ruleEo, int i);

    void save(RuleEo ruleEo);

    void deleteById(Integer id);

    RuleEo getById(Integer id);
}
